package com.ccloud.api.motorfactory.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ccloud.api.motorfactory.domain.MMotorPart;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 摩托零件货品表 Mapper 接口
 * </p>
 *
 * @author chentl
 * @since 2022-04-09
 */
public interface MMotorPartMapper extends BaseMapper<MMotorPart> {

    IPage<MMotorPart> selectPage(@Param("page") Page<MMotorPart> page, @Param("motorPart") MMotorPart motorPart);

    Map<String,Object> getRelsByPartId(String partId);
}
